﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mysoft.Dto.Basic
{
    public class PageRespone<T>
    {
        /// <summary>
        /// 数据构建
        /// </summary>
        /// <param name="list"></param>
        /// <param name="total"></param>
        public PageRespone(List<T> list, int total)
        {
            this.list = list;
            this.total = total;
        }
        /// <summary>
        /// 分页行数据
        /// </summary>
        public virtual List<T> list { get; set; }
        /// <summary>
        ///  分页总行数
        /// </summary>
        public virtual int total { get; set; } = 0;
    }
}
